home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 4 / United Public Domain Gold 4.iso / scope / sc094.dms / sc094.adf / Uedit / uedit-tutor < prev    next >
Text File  |  1989-12-02  |  34KB  |  841 lines

  1.  
  2.  
  3.                                 Uedit-Tutor
  4.                     Copyright (C) 1986-89, Rick Stiles
  5.  
  6.                  ((See Uedit-Policy for purchasing info.))
  7.  
  8.  
  9.                             **** DISCLAIMER ****
  10. I can accept no responsibility, if you crash your Amiga or lose text files
  11. with Uedit.  No guarantees, either explicit or implied, are made as to
  12. Uedit's safety.  If you use it, it is at your own risk.
  13.                             **** ********** ****
  14.  
  15. Dear folks,
  16.  
  17. (See Getting Started, below, for immediate instructions.)
  18.  
  19. Uedit is an editor for technical users.  It has many wordprocessing features.
  20.  
  21. In developing and enhancing Uedit, the aims have been for the user to:
  22.    o Be able to work without bumping into limits of power and capacity;
  23.    o Be able to automate repetitive work, eliminate tedium, save time;
  24.    o Be rid of the irritation of wasted keystrokes and stodgy performance;
  25.    o Be able to customize the environment fully;
  26.    o Be able to create, on the spot, new capabilities that are needed.
  27.  
  28. Uedit is Shareware.  You can get a copy from a friend or off a computer
  29. network and try it out, in order to decide whether to purchase the real thing
  30. or not.  (See Uedit-Policy for purchasing info.)
  31.  
  32.  
  33.                        *** About This Version ***
  34.  
  35. This freely distributable Shareware version has the following limitations
  36. in order to enable you to "get the flavor" and use Uedit productively and
  37. yet to encourage you to register to get the real thing:
  38.     1. It has a 4-file limit.  The stacks have been omitted, because of the
  39.        4-file limit.  If the stacks were included, you'd be able to edit an
  40.        "infinite" number of files (to limit of memory) and maintain an
  41.        arbitrary number of buffers and numbers on the stacks.
  42.     2. It will not let you save a full or partial configuration to disk.
  43.        Thus you can customize while you're using Uedit, create and compile
  44.        new commands, even compile an entire config file, but cannot save a
  45.        custom environment to disk for permanent use.
  46.     3. It won't let you save a learned sequence to disk.  You can use learn
  47.        mode as much as you want but cannot store the learned sequences for
  48.        permanent use.
  49.     4. The getBufAddr/attachBuf/detachBuf functions have been omitted, so
  50.        this version cannot exchange buffers with external programs or other
  51.        copies of Uedit running on your Amiga.
  52.  
  53.  
  54.                                About Uedit
  55.  
  56.  
  57. You can try Uedit immediately without reading beyond this paragraph.  The
  58. menus, HyperText Help, and Teach Mode should be enough for most users to get
  59. going.
  60.  
  61. When you use Teach Mode, be sure to try the shift/alt/ctrl/Amiga shift keys,
  62. to find out what the various combinations do with the keys and mouse-clicks
  63. and gadgets in the message line.  Abort out of Teach Mode with Amiga-ESC.
  64.  
  65. Goals in writing Uedit were openness, flexibility, power, friendliness -
  66. above all to give Freedom of Choice to the user.
  67.  
  68. Being able to edit 100 files (or more) is only the beginning of the depth
  69. Uedit has got.
  70.  
  71. Learn Mode adds a new dimension, providing instant automation for people who
  72. hate reading instructions and only want to know enough to get the job done.
  73.  
  74. The command language adds another dimension, letting you rewrite Every
  75. command, even the gadget and mouse button commands - on the fly.  Example:
  76. Put the cursor anywhere before the following command and press F6.
  77.              <normal-esc: putMsg("Welcome to Uedit!")
  78.                           alertUser("Click me") >
  79. Now press Esc.
  80.  
  81. Then there is the overall configurability and customizability, being able to
  82. swap and kill keys, change colors, customize the menus, etc.
  83.  
  84. Then there is the ability to switch configurations, changing the personality
  85. of Uedit in seconds, without interrupting editing.
  86.  
  87. Then there is the fact that it sleeps so that other tasks run efficiently and
  88. it can start other tasks and load in their results so that you can use them.
  89.  
  90. The ARexx interface allows you to send commands or text to Uedit from CLI or
  91. from host programs, thereby controlling Uedit from outside.  It allows Uedit
  92. to exchange data with ARexx host programs.
  93.  
  94. The "infinite" buffer and number stacks enable you to edit as many files or
  95. hold onto as many buffers or numbers as memory will hold.
  96.  
  97. Spooled file saving and spooled printing let you continue editing while
  98. saving and printing are in progress or when Uedit is in tiny window.
  99.  
  100. The spell-checking version of Uedit (see Uedit-Policy) allows you to spell-
  101. check documents, build dictionaries, create and use dictionary supplements,
  102. and so on.
  103.  
  104.                                  Features
  105.  
  106.  
  107. Uedit has too many features to go into here.  To name just a few, it has on-
  108. line Help facility as well as Teach Mode that teaches the purpose of keys,
  109. gadgets, clicks, and menu selections.
  110.  
  111. It has split windows, colored (hilite and invert) regions, interlace screen
  112. and RGB color tuning, mouse-scrolling and mouse cursor-placement, full sets
  113. of cut/copy/paste/clear capabilities for regular, inverted, or hilited as
  114. well as columnar text.
  115.  
  116. It lets you edit up to 100 or more files at once, has paragraph reformatting,
  117. page-making commands, printer selection and controls, undo-deletes, search-
  118. replace, edit-while-you-print up to 12 documents or regions, ctrl-click-
  119. loading of any filename anywhere, an interface that lets you use ARexx, and
  120. much more.
  121.  
  122. The main reason that Uedit's features can't be listed is that the user can
  123. create new ones anytime.
  124.  
  125. New commands can be typed into any buffer.  They are compiled in a fraction
  126. of a second typically, when you put the cursor in front of them and press f6.
  127. The command development and debugging work environment is extremely fast.
  128. New commands can be tested immediately after they have been written or
  129. changed.
  130.  
  131.                        Ignore the Technical Aspects
  132.  
  133. In order to discover how easy Uedit is to use productively, ignore
  134. anything technical in this tutorial for the moment.  Just use the program
  135. like you would any editor or wordprocessor.
  136.  
  137. Uedit was written for ordinary people, not for hackers, although it is true
  138. that most users are technical.  You don't need to memorize anything technical
  139. in order to do powerful and automatic things.
  140.  
  141. For instance, learn mode couldn't be simpler to use and it doesn't require
  142. any technical grasp or memorization.  Yet it offers benefits that rival those
  143. of the command language and overall customizability of the program.
  144.  
  145. Just try Uedit as an ordinary editor first, and see how you like it.
  146.  
  147. And remember:  Almost anything you don't like can be changed by the user.
  148.  
  149.  
  150.                               Getting Started
  151.  
  152.  
  153. Workbench and CLI:
  154.  
  155. You can run Uedit immediately in Workbench by clicking its icon.
  156.  
  157. You can run it immediately in CLI by typing "Run UES file1 file2 file3 etc".
  158.  
  159. To be able to run UES from any directory, run CLI and type the following:
  160.                 Copy    UES   C:
  161.                 Copy    NoName.info S:
  162.                 Copy    Data! S:
  163.                 Copy    Help! S:
  164.                 Copy    Key-Help S:
  165.  
  166.  
  167. Now you can run Uedit from any directory.  NoName.info must be in S:, if you
  168. are going to select "Make icons" so that Uedit will create file icons for
  169. you.  (You can create your own custom NoName.info icon, if you wish.)
  170.  
  171. Data! and Help! must either be in S: or in your current working directory.
  172.  
  173.  
  174. Here is what the key-prefixes mean in the menu selections:  S=Shift, A=Alt,
  175. C=Ctrl, L=leftAmiga, R=rightAmiga.  Keypad keys are abbreviated with "kp".
  176.  
  177.  
  178. If a menu selection says "L-0", it means that holding down the left Amiga key
  179. and pressing "0" will do the same thing as the menu entry.  If it says "SA-
  180. kp7", it means hold down Shift and Alt keys and press the 7 on the keypad.
  181.  
  182. Press Help or use HyperText as needed.  Select "Teach keys" to learn about
  183. Uedit's keys.  When finished with Teach Keys, press Amiga-ESC.  (HyperSample
  184. and HyperSample.tbl must be in the current directory to use HyperText.)
  185.  
  186. Amiga-ESC is Uedit's general purpose Abort key.  Use it to Abort any operation.
  187.  
  188. To slide Uedit's screen up/down, put the mouse at the far right of the title
  189. bar.
  190.  
  191. CLI command line:
  192.  
  193. The "Run UES" command line can have any number of file names in it, up to the
  194. maximum that you are configured to use.  (The Shareware UES program is
  195. wired for 4 files maximum.)
  196.  
  197. The following flags can be used in the CLI command line as well.  The flags
  198. must come BEFORE the file names in the command line.  Example:
  199.     Run UES -a0x0f0f0f0f -b12345678 -lMyLearnSeq -k300 -dDataFileName
  200.     -cConfigFileName file1 file2 file3 ....
  201.  
  202. The -a and -b flags initialize the global variables UserGlobalA and
  203. UserGlobalB.  The -l flag causes the learned sequence to be run after the
  204. files in the command line are loaded in.  The -k flag causes the key with the
  205. corresponding macro-number to be executed - after the files (if any) are
  206. loaded, and after the learned sequence (if any) is run.  The flags are
  207. handled in the following order:
  208.     -c config file is loaded and compiled, if named.
  209.     -d data file is loaded, if named & exists & -c flag not used.
  210.     The named files are loaded, if any.
  211.     -a and -b set the global user variables, if used.
  212.     -l runs the learned sequence, if named & exists.
  213.     -k runs the key, if named & exists.
  214.  
  215. The function keys, F1 thru F10, do the following (with no shift keys):
  216.  
  217.     F1 = next file
  218.     F2 = save file
  219.     F3 = close file
  220.     F4 = quit
  221.     F5 = swap next 2 commands
  222.     F6 = compile command following cursor
  223.     F7 = input search text and search fwd
  224.     F8 = input replace text
  225.     F9 = search fwd
  226.     F10 = replace & search fwd
  227.  
  228.  
  229. Files and buffers:  Uedit has 100 buffers, which can be used for holding
  230. documents and bits and pieces of text.  The lowest buffer numbers are used for
  231. holding documents.  Any number of buffers may also be stored on the buffer
  232. stack.  (The same is true of the number stack and the file-saving queue.)
  233.  
  234. How many files Uedit will let you load in is determined by the "Max files"
  235. menu selection.  (The Shareware UES is wired to 4 files max.)
  236.  
  237. Directories and Files:
  238.  
  239. The easiest way to load a file is to Ctrl-click its name in Uedit.  There are
  240. two "current" directories:
  241.  
  242.     One is the Current Directory in which the Uedit program is running.  This
  243.     is the directory you started up in, unless you change it.  (See AmigaDOS
  244.     menu.)
  245.  
  246.     The second is the click-loading directory that Uedit currently is using.
  247.     The default click-loading directory is also the directory you started up
  248.     in, but you can change it as described below.
  249.  
  250. If you ctrl-click a directory name such as myDir/ in any buffer, the
  251. directory name is added to the list of directories in buffer 38.  If you
  252. ctrl-click in whitespace in any buffer, a split window opens up showing
  253. you the directory list (buffer 38) with the current click-loading
  254. directory hilited.
  255.  
  256. In the split window (buffer 38), you can change the current directory, get a
  257. dir listing, edit or save the directory buffer, get the current directory
  258. (CD), or select a new click-loading directory.
  259.  
  260. You can also get a directory listing by selecting "Directory" in the menu.
  261. The directory name you give is put into the directory list and becomes the
  262. current click-loading directory.
  263.  
  264. The "Files" menu lets you load/insert/rename/restore/save/close files.
  265.  
  266. Miscellaneous:
  267.  
  268. To make the 4 invisible "gadgets" in the message line visible or invisible,
  269. press Ctrl-g.
  270.  
  271. To make the cursor page/row/column info visible or invisible, press ctl-2.
  272. (These are in the menus: "Mark gadgets" and "Row/Column".)
  273.  
  274.  
  275. Scrolling:  Scroll vertically by holding down the mouse button and moving the
  276. mouse.  The arrow keys also do vertical and horizontal scrolling.
  277.  
  278. For faster scrolls, either hold down the up/down arrow key or use Shift, Alt,
  279. or Ctrl with the arrow key.  For a slower scroll, use the up/down gadgets.
  280.  
  281.  
  282. Moving the Cursor:  Much of the time you may prefer placing the cursor by
  283. clicking the left mouse-button.
  284.  
  285. The keypad keys 2, 4, 6, & 8 move the cursor up/down/left/right by word/
  286. character/line/page depending on which shift key is used.
  287.  
  288. (Teach Keys will give you the sense of the keypad keys.)
  289.  
  290.  
  291. Scratch deletes & Undo:
  292.  
  293. Scratch deleting is what you'd normally use in meat & potatoes text work.  The
  294. following keys do scratch deletes at the cursor location:
  295.  
  296.     Ctrl-d deletes the cursor line.
  297.     Keypad-7 (unshifted) deletes word-left.
  298.     Keypad-9 (unshifted) deletes word-right.
  299.     Shift-kp7 deletes character left.
  300.     Shift-kp9 deletes the character under the cursor.
  301.     Alt-kp7 deletes to start of line.
  302.     Alt-kp9 deletes to end of line.
  303.     Ctrl-kp7 deletes to top of window.
  304.     Ctrl-kp9 deletes to bottom of window.
  305.  
  306. These are the "scratch" delete keys.  When you use them, the deleted material
  307. is stored in the scratch-delete (Undo) buffer.  Long as you don't move the
  308. cursor and make a delete somewhere else, you can store any number of scratch
  309. deletes.
  310.  
  311. Pressing keypad-0 inserts the Undo buffer at the cursor.  Thus, after doing a
  312. series of scratch deletes using the above keys, you can place the cursor
  313. somewhere, press keypad-0, and insert the deleted material.
  314.  
  315. If you move the cursor and do another scratch delete, the Undo buffer is
  316. cleared before the newly deleted text is stored.  You will find that you do
  317. most of your cut & paste the quick & dirty way, using scratch-deletes and the
  318. Undo key.
  319.  
  320.  
  321. If you select "Undo buffer" in the Split Window menu, you can monitor the
  322. contents of the Undo buffer and even type into it.  To adjust the size of any
  323. split window, activate the window by clicking it with the mouse and then
  324. press lAmiga-= and adjust the size by holding the left mouse-button and
  325. moving the mouse.
  326.  
  327. There can be up to 8 split windows in use.
  328.  
  329.  
  330. There are many ways to do cut/copy/paste operations with Uedit and to do them
  331. in parallel.
  332.  
  333. You can be doing cut & paste using scratch deletes, hilite region, invert
  334. region, and columnar data, all at the same time.  If these aren't enough,
  335. you've got 100 buffers to put bits and pieces into.  Any number of buffers
  336. can be put onto the stack using "Push buf", so you can maintain as many
  337. files and buffers as memory will hold.  (The Shareware UES program does
  338. not include the buffer & number stack functions.)
  339.  
  340.  
  341. Creating a hilite region:
  342.  
  343. There are 3 ways to mark a hilite region.  Press HELP and it will show them
  344. to you.
  345.  
  346. But rather than do that, try this:  Place the mouse high up in the text. 
  347. Hold down the Shift key and click the mouse.
  348.  
  349. Move the mouse to the lower right in the text.  Hold down the Alt key and
  350. click the mouse.
  351.  
  352. There should now be a hilited region.  This is one method of hiliting.
  353.  
  354.  
  355. Try this:  Select "Hilite buf" in the Split Window menu.  This shows you the
  356. contents of the copied hilite buffer.
  357.  
  358. Put the cursor anywhere in the colored, hilited region in the original buffer.
  359.  
  360. Now press keypad-Minus, the "-" key on the keypad.  This "cuts" the hilited
  361. region.  The region disappears.  (Don't move the cursor yet!)
  362.  
  363. Note that the cut material appeared instantly in the "Copied hilite" buffer.
  364.  
  365. Now press keypad-Enter.  This puts the "cut" text back where it was.  And it
  366. is hilited.  To unhilite it, press alt-h or select "Unhilite".
  367.  
  368.  
  369. To get rid of a split window, click the mousebutton in it, making it the
  370. active window-split.  Then select "Drop split" in the Split Window menu or
  371. press lAmiga-0.
  372.  
  373.  
  374. Columnar text operations:
  375.  
  376. Columnar regions are rectangular.  This means that when you create a hilite
  377. region to use for columnar text movement, the Start of the hilite region must
  378. be in a Lefthand column and the End of the hilite region must be in a
  379. Righthand column.  No region exists if the end of the region is not in a
  380. higher column number.
  381.  
  382.  
  383. Place the mouse high up in the text and to the left.  Press Shift and click
  384. the mousebutton.
  385.  
  386. Place the mouse low down and to the right, pointing to some word in the text.
  387. Press Alt and click the button.
  388.  
  389. Select "Col display" in the Edits menu.  Now the region should be displayed as
  390. rectangular.
  391.  
  392.  
  393. Select "Col copy" in the Columnar menu.  This makes a copy of the columnar
  394. region.
  395.  
  396. Put the cursor anywhere with the mouse.  Select "Col insert" in the Columnar
  397. menu and see what happens.
  398.  
  399. To remove the inserted, hilited columnar region, select "Col cut" in the menu.
  400.  
  401. (NOTE:  The keypad copy/cut/paste keys kpDot, kpMinus, and kpEnter also
  402. work as columnar keys when columnar display mode is used.)
  403.  
  404. You should experiment with columnar text in order to understand how to manage
  405. it.  (If you altered this Uedit-Tutor file just now, select "Restore" in the
  406. Files Open menu to restore it to the original.)
  407.  
  408.  
  409. When using columnar display mode, TABS are shown as "box" characters.  This is
  410. so that columns line up correctly when spaces and TABS are intermingled, as
  411. they often are.
  412.  
  413.  
  414. Tab Rulers:
  415.  
  416. There are 5 tab tables in Uedit, numbered 0 to 4.  You can change the tab
  417. table your document is using by selecting "Tab table" in the menu.
  418.  
  419. Individual documents can use different tab tables.  The tab ruler shows the
  420. tabs in the current document's tab table.
  421.  
  422. Select "See ruler" to see what the tab columns are or select "Set ruler" to
  423. set the tab columns.
  424.  
  425. If you have selected "Set ruler" and wish to set tabs at high columns beyond
  426. the right edge of the window, hold the mouse-button down and drag the mouse
  427. to the left, then release the button.
  428.  
  429. To slide the ruler to the right, drag the mouse rightward.
  430.  
  431. Tab columns can be set by clicking the mouse within 2 lines of the ruler, or
  432. by using the keys that the help message says to.
  433.  
  434.  
  435. Screens, colors, and RGB tuning:
  436.  
  437. The "Lace/Planes" submenu lets you select from 4 screens, which use 2 or 4
  438. colors, regular or interlace.  You can see the most lines of text by using
  439. an interlace screen.  Scrolling with the mouse is fastest when you use a
  440. regular 2 color screen.  Half as much memory is used when you use a 2
  441. color screen.
  442.  
  443. You can tune the RGB colors of Uedit's screen by selecting "Tune RGB";
  444. press ESC when you are finished with RGB tuning.  To rotate the 4 screen
  445. colors, press alt-HELP until you see a combination that you like.  Each
  446. buffer can use its own colors.  If you change the colors and want the menu
  447. colors updated, select "Do menus".
  448.  
  449.  
  450. Printing:
  451.  
  452. In the "Printing" menu, select "Print select" and put in a number 0 to 3,
  453. telling Uedit where you want your printing to go.  The message line tells you
  454. what the numbers 0-3 mean:
  455.     0 = raw text out the parallel port
  456.     1 = raw text out the serial port
  457.     2 = processed text using the Amiga's printer device
  458.     3 = raw text using the Amiga's printer device
  459.  
  460. If you embed Uedit's printer control codes in your text (such as for boldface,
  461. italics, etc) using the "Bracket hilite" or "Embed code" menu selections, you
  462. must set "Print select" to 2 or 3.
  463.  
  464. If you embed your own custom printer codes in the text, then you can use
  465. "Print select" values 0, 1, or 3, and they will be sent to your printer in raw
  466. form.  (Print-select value 2 allows the printer device to "strip out" any
  467. control codes that the Amiga printer device doesn't recognize.)
  468.  
  469.  
  470. (To embed CTRL characters, such as ESC, press ctl-c and then the desired
  471. character.  To identify any control character in the text, put the cursor on
  472. it and press ctl-/.)
  473.  
  474.  
  475. Print queue:  In the printing menu, you can select "Print hilite" or "Print
  476. file".
  477.  
  478. Long as the print-job will fit into memory, you can queue up as many as 12
  479. print-jobs and still go on editing while they print.
  480.  
  481.  
  482. You can even queue up print jobs to different printers, by changing "Print
  483. select" before selecting "Print hilite" or "Print file" for each print-job.
  484.  
  485. If the print-job is too big for memory, you will have to wait until printing
  486. is finished before you can continue editing.
  487.  
  488.  
  489. Save on idle:  By selecting "Save on idle" in the Local Modes menu, your file
  490. will be saved during pauses in your work, if it has been changed.
  491.  
  492. The length of the pause can be set by selecting "Idle timer".
  493.  
  494.  
  495. Margins, line-length, and lines-per-page:  In the Line/Page menu are
  496. selections for lines/page, line-length, top/bottom margins, and end-of-line.
  497.  
  498. If you want an "inner" left margin temporarily, simply indent the text and
  499. select "Autoindent", so that succeeding lines stay at the same indentation.
  500.  
  501.  
  502. To control the right margin, set line-length to the desired value.
  503.  
  504. If you set Left Margin in the Line/Page menu to any value greater than 0,
  505. typing will use the new left margin value.  Also, reformatting paragraphs will
  506. cause them to be reformated at the new left margin value.
  507.  
  508. Thus you can reformat an inset paragraph so that it is moved to the far left
  509. by setting Left Margin to 1 and reformatting it.
  510.  
  511.  
  512. Paragraph reformatting:  To reformat a paragraph, put the cursor in the line
  513. where you want reformatting to begin.  Then select "Paragraph" in the
  514. Reformats menu or press ctl-3.
  515.  
  516.  
  517. Paragraph reformatting ends when it reaches a blank line or a different
  518. indentation.  Different indentation says that you want a different left
  519. margin, hence it is not considered part of the paragraph being reformatted.
  520.  
  521.  
  522. Page formatting:  See the Paging menu.
  523.  
  524. Pages are determined by formfeeds in the text or by the line-count, using the
  525. current lines-per-page value.  To set the lines/page, see the Line-Page menu.
  526.  
  527.  
  528. The Page Formatting menu has selections for going to page#, going to top of
  529. page, going to bottom of page, inserting a page-division, deleting the next
  530. page-division, and auto-inserting page-divisions in your entire document.
  531.  
  532. When a page-division is inserted, the page number is automatically put in.
  533.  
  534. You can erase the page number by selecting "Del page #".
  535.  
  536. Page numbers are put 1/2 the bottom margin distance from the bottom of the
  537. page, where the bottom of the page is simply the lines/page setting (normally
  538. 66).
  539.  
  540. (Note that these are all user-customizable commands which you can modify
  541. and recompile.  Every command in Uedit is customizable.)
  542.  
  543. When a page-division is inserted, the top margin for the next page is also put
  544. in, after deleting any blank lines.
  545.  
  546. The formfeed causes the display to draw a line across the window, making page
  547. divisions easy to locate visually.
  548.  
  549. You can find page divisions quickly by using the "Bottom page" and "Top page"
  550. menu selections.  (These are lAmiga-b and lAmiga-H.)
  551.  
  552. To insert a page-division and page number at the cursor, press lAmiga-v or
  553. select "Divide page".
  554.  
  555. To remove a page division, put the cursor anywhere in the page above the page
  556. division and press lAmiga-d or select "Del page div".
  557.  
  558.  
  559.                               Odds and Ends
  560.  
  561.  
  562. To abort any operation, press Amiga-ESC.
  563.  
  564. Primitive Mode is used for special text and number inputs.  The Title Bar and
  565. the message line tell you what to do in Primitive Mode.
  566.  
  567. If you press F7 to input a search string, you'll be in Primitive Mode.  Type
  568. in the search text, then press ESC or click the mousebutton to terminate the
  569. input.
  570.  
  571. In Primitive Mode, you can type in Ctrl characters (such as ctl-m for
  572. carriage return) directly.  No need to press ctl-c first.
  573.  
  574. You can change the Primitive Mode terminator character from ESC to some other
  575. Ctrl character (such as the Return key) by selecting "PM terminator" in the
  576. menu or by pressing ESC.
  577.  
  578.  
  579. You can search for two things at once by putting a "$" dollar sign between
  580. two search strings.  This is the eitherOr delimiter.  To cause searching
  581. to skip a particular pattern, use the "all-but" delimiter which is "~".
  582.  
  583. The "?" question mark is used by search as a single-character wildcard.  The
  584. "*" is used as a multi-character wildcard.
  585.  
  586. You can change these special characters by selecting "Wildcards" or
  587. "Either-or" in the "Settings" menu.
  588.  
  589. "Search case" toggles on/off the upper/lower case-sensitivity of searching.
  590.  
  591.  
  592. In the message line are fake "gadgets" (if "Mark Gadgets" is turned On),
  593. such as "Next file", "Prev file", and so on.
  594.  
  595. These message-line gadgets are just like keys and mouse clicks.  They can be
  596. swapped, killed, reprogrammed, learned, used in menu selections, and so on.
  597. Gadgets can be used with shift-keys, so there can be many more than 4 gadgets.
  598.  
  599.  
  600. Menu selections are always attached to a key, gadget or mouse-button command.
  601. If you swap a menu selection, the key you swapped it with is run when you
  602. select that menu item.
  603.  
  604.  
  605. Bookmarks:  The Shift gadget keys allow you to place up to 8 bookmarks in any
  606. buffer and goto the next or previous bookmark.
  607.  
  608. Grep:  Uedit has an enhanced grep, in addition to the normal search & replace
  609. capability.  The grep commands are the following:
  610.     lAmiga-f7:  set grep /search/replace/ string
  611.     lAmiga-f9:  grep search forward
  612.     rAmiga-f9:  grep search backward
  613.     lAmiga-f10: grep replace & search forward
  614.     rAmiga-f10: grep replace & search backward
  615.  
  616.  
  617. Uedit sleeps when it can, so that other tasks will run faster.
  618.  
  619.  
  620. Clicking the Title Bar switches to the tiny window.  The tiny window comes
  621. up inactive, so you can type into CLI immediately.
  622.  
  623. This also lets the Amiga reopen the big window in a better memory location.
  624.  
  625.  
  626. If Uedit runs out of memory and the "Memory..." message appears, that means it
  627. is compacting its stuff in memory, creating a larger area for the Amiga to use
  628. for graphics.  If "Memory..." appears, you ought to save and close some
  629. documents.  Also it's a good idea to click the Title Bar and reopen Uedit's
  630. window.
  631.  
  632.  
  633. Uedit sleeps between inputs.  If you don't type anything for 4 seconds, it
  634. does housekeeping.  If you select "Busies", you'll see which buffer is
  635. being worked on.  When the housekeeping is done, it sleeps.
  636.  
  637.  
  638. In the window's Title Bar, brackets [buf#,flags] contain the buffer number and
  639. various flags.  If Learn Mode is currently learning, "L#" appears, where #
  640. is the number of steps in the learned sequence.  If you are in Teach Mode,
  641. "T" appears.  If documents are queued up for printing, "P#" appears, where
  642. # is the number of print jobs yet to be done, up to 12 maximum.  If file-
  643. saves are in the queue, "S#" appears, where # is the file-saves remaining.
  644.  
  645.  
  646. Uedit picks up font changes made with Preferences or SetFont.  It speeds
  647. up the displaying of sized 8 and 11 fonts, such as Topaz 8, Clean 8, and
  648. Topaz 11, but it will let you use any font.  When you first start Uedit,
  649. it uses the font that Workbench is currently using.
  650.  
  651.  
  652. It works with all known hardware add-ons.  Some people start Uedit in
  653. their Workbench df0:S/Startup-Sequence and do everything from inside it. 
  654. They let it run other tasks and continue editing or let it sleep in tiny
  655. window while they work elsewhere.
  656.  
  657.  
  658. To see the current settings for line-length, lines/page, tab-table, margins,
  659. Uedit Serial Number, etc, press shift-HELP or select "Show vals".  This also
  660. shows you the size of the current file.
  661.  
  662.  
  663. Some settings are global and others are local to the current file.
  664.  
  665. Changing a local setting like word-wrap changes the global setting for future
  666. files loaded in.
  667.  
  668.  
  669. To recover the original configuration after fooling with commands, colors,
  670. etc, select "Load data".
  671.  
  672. After making any of the changes discussed here, selecting "Save data" will
  673. save all current settings to disk.  (Note:  Save Data is not included in
  674. the Shareware UES program.)
  675.  
  676.  
  677.                               Editing Tricks
  678.  
  679.  
  680. If you are like me and hate reading instructions, and expect programs to be
  681. Easy Without Reading, then Learn Mode is for you.
  682.  
  683. No reading is necessary.  Learn Mode uses just the normal editing stuff.
  684.  
  685. It offers immense power and capacity to automate tedious, repetitive jobs.
  686.  
  687. If you need to search and replace misspelled names in 300 documents, you can
  688. teach Learn Mode how to do one and let it do them all while you take a break.
  689.  
  690. To set up for such automation takes only as many seconds as it takes you to do
  691. one operation yourself, showing Learn Mode what to do.
  692.  
  693.  
  694. Simply press ctl-s to start Learn Mode, do the sequence of operations, and
  695. press ctl-r to end Learn Mode.  (If you press ctl-s a second time, it
  696. aborts and wipes out the learned sequence.)
  697.  
  698. Then press ctl-r to see how it works.  If you did it right and it works
  699. right, press ctl-m to set the command multiplier and then press ctl-r to run
  700. it as many times as desired.
  701.  
  702.  
  703. The Manual has lots of Examples and Editing Tricks which show how to take
  704. advantage of Uedit's versatility and power.  It describes how to use Learn
  705. Mode to click-add numbers or click-bracket words, do a mail-merge, and so
  706. on.
  707.  
  708.  
  709. A useful trick is to swap "Run learn" (ctl-r) with the mouse's buttonUp
  710. operation.  (A menu selection "Swap mouseUp" lets you do this swap.)
  711.  
  712. Then when you click the button, buttonDown will deposit the cursor like it
  713. normally does, and buttonUp will execute a learned sequence!
  714.  
  715.  
  716. The learned sequence can be anything.  It can, for instance, click-bracket
  717. text with printer control codes.  The Manual's Editing Tricks presents such
  718. examples.
  719.  
  720.  
  721. Or you can swap the mouse's buttonUp operation with another key, such as the
  722. add-numbers key (ctl-=).  Just select "Swap mouseUp" and press ctl-=.
  723.  
  724. Then you can click-add numbers that are scattered in various documents.
  725. Pressing ctl-\ will put the running total into the text at the cursor.
  726.  
  727.  
  728. Learned sequences can be stored on disk as files.  They are stored in your
  729. current directory.  If you copy them to S:, Uedit will find them from any
  730. directory.  The "Learn" menu lets you start, terminate, run, load, and save
  731. learned sequences.  (Note:  Save Learn is not included in the Shareware
  732. UES program.)
  733.  
  734. A saved learn sequence might, for example, go to top of document and type in
  735. a header, or go to bottom of document and type your name and address.  You
  736. could save it to disk and select "Load & run" in the Learn menu to run this
  737. learned sequence anytime.  You can assign a special key that inserts a
  738. header in one keystroke:
  739.  
  740.         <normal-esc: if (loadLearn("MyHeader")) runLearn >
  741.  
  742.  
  743.                             Config! and Data!
  744.  
  745.  
  746. Config! is a configuration file which is the Source of every command Uedit
  747. currently uses.  (Except, of course, you can customize Uedit while you're
  748. using it.)
  749.  
  750. A configuration may consist of a series of files.  The current standard
  751. config consists of:  Config!  (defaults and menu selections) Config!M
  752. (misc) Config!P (printing & paging) Config!R (ARexx) and Config!S
  753. (spelling & split windows)
  754.  
  755.  
  756. Data! is a compiled copy of Config! which Uedit loads at startup.
  757.  
  758. Data! should be in your S: directory or in your current directory, along with
  759. Help!, the help file.  If Data! is in S:, you can run Uedit from any directory
  760. or disk drive.  (Normally S: is assigned to the DF0:S subdirectory.  To
  761. assign it to myDirectory, type "Assign S: myDirectory" in CLI.)
  762.  
  763. To make Uedit recompile the config file, in CLI type:  Run Ues -c
  764.  
  765. The Config!(A-Z) have to be in your current directory or in S:.
  766.  
  767. You can keep as many config and data files on hand as you want.  The "Save
  768. data" and "Load data" selections in the menu let you switch configurations or
  769. save changes to Uedit that you have made while editing.  Thus you can
  770. customize it while using it.  (Save Data is not included in the Shareware
  771. UES program.)
  772.  
  773.  
  774. You can load and save data files from/to any directory and under any name.
  775. By customizing Uedit, you can turn it into an emulation of a favorite program
  776. or a disk utility or even possibly a spreadsheet.  While editing, you can
  777. select "Load data" and load in an entirely different configuration, changing
  778. its appearance and behavior.
  779.  
  780.  
  781. If you run Uedit by typing "Run UES -dDataFile .." or "Run UES -cConfigFile .."
  782. in CLI, it will load DataFile or compile ConfigFile.
  783.  
  784.  
  785. You can have hundreds of commands on-line at the same time.  Keys can load,
  786. compile, run, swap, and kill other keys, so there really is no limit to how
  787. many commands can be available at the press of a key.
  788.  
  789. Also you can create Partial Data files which contain blocks of commands that
  790. can be loaded in collectively or individually.  (Note:  The saveKeys()
  791. function is not included in the Shareware UES program, but loadKeys() is
  792. included.)
  793.  
  794.  
  795. There can be up to 7 menus with up to 20 selections each with up to 12 submenu
  796. selections, for a total of 1680 submenu selections.
  797.  
  798.  
  799. The configurability of Uedit is extreme.
  800.  
  801. A directory utility configuration was written that, in some respects, is more
  802. powerful and useful than directory utility programs typically are.  It lets
  803. you load in up to 100 or more directory listings and copy/delete/rename files
  804. and directories.  And while using it you can hold onto the files you were
  805. editing before you switched over to the dir-util config, as well as load in
  806. various files to read, edit, and save them while in the midst of directory
  807. house-cleaning.  This dir-util config is available as an extra.
  808.  
  809. Kurt Wessels wrote a config called UStar which emulates WordStar (tm) and
  810. Scribble! (tm).  Kurt's UStar is available as an extra.
  811.  
  812. Eric Kennedy wrote a VI! config which emulates the famous Unix(tm) vi editor.
  813. Unix users can feel right at home, using VI! instead of Uedit's standard
  814. configuration.  VI! is available as an extra.
  815.  
  816. Kent McPherson has written a Gold Key configuration that emulates the famous
  817. EDT Gold Key (tm) editor on DEC (tm) minicomputers.
  818.  
  819. Others have written specialized configs for programming and emulations of
  820. popular programs.  These are available as extras or from the authors or in
  821. the public domain.
  822.  
  823.  
  824.                              Acknowledgements
  825.  
  826.  
  827. I wish to thank the many users who have given thoughtful feedback on Uedit
  828. since it came out or have uploaded it to networks for me at their expense
  829. or helped in other generous ways.  Most of the improvements since V1.0
  830. have been because of their feedback, and Uedit's survival is due to the
  831. generous assistance of many users.  Used to be, I included a list here,
  832. but I simply had to take it out.  To name even one person or to try to
  833. name all who deserve it is sure to leave out somebody who really helped a
  834. lot.
  835.  
  836.                       *****************************
  837.  
  838.  
  839. Your feedback will be appreciated.
  840.  
  841.